﻿@model List<wne.models.Smalldoc>
@{
    ViewBag.Title = "EditableDocsList";
}
@functions
{

}

<script src="/Scripts/Documents.js"></script>

<div class="hero-unit" style="padding: 14px 10px 14px 20px; margin-left: 2px;">
    <h2>Редактируемые Документы</h2>
    <div class="row-fluid">
        <div class="offset1 span3" style="padding-top: 40px;">
            <div class="input-append">

                <form id="search-block-form_and_sort">
                    <input type="text" id="searchString" class="span9 input-medium search-query" name="searchString" value="" maxlength="128" placeholder="Поиск по названию">
                    <button type="button" class="btn" onclick="reloadUserPartial();"><i class="icon-search" onclick="reloadUserPartial();"></i></button>
                    <div onclick="$('#search-block-form_and_sort').submit();"></div>
                </form>

            </div>
        </div>
    </div>
</div>




<div id="IndocsPartial">
    <table class="table InCome">
        <tr><th>Номер</th><th>Название</th><th>Дат</th></tr>

        @foreach (var row in Model)
        {
            <tr><td>@row.id</td><td><a href='DocumentView?docId=@row.id' class='show'>@row.name</a></td><td>@row.remain</td></tr>

        }
    </table>

</div>
